package com.hdoit.apollo.logical.purchase.dao.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import com.tennetcn.data.dao.base.impl.SuperDao;
import com.hdoit.apollo.logical.purchase.dao.IPurchaseDao;
import com.hdoit.apollo.logical.purchase.mapper.PurchaseMapper;
import com.hdoit.apollo.logical.purchase.model.Purchase;
/**
 * @author      humaoshu
 * @email       
 * @createtime  2018年05月23日 09:49:09
 * @comment
 */
@Component
public class PurchaseDaoImpl extends SuperDao<Purchase> implements IPurchaseDao{

	@Autowired	
	private PurchaseMapper purchaseMapper;
	
	@Override
	public Purchase queryModelByKey(String key) {
		
		return purchaseMapper.queryModelByKey(key);
	}

}